const http = require('http');

for (let i = 0; i < 5000; ++i) {
  http.get({
    hostname: 'localhost'
    , port: 3000
    , path: '/'
    , method: 'GET'
  }, function (res) {
    res.on('data', data => {
      console.log(data.toString());
    });
  });
}
